package ai.plantdata.Behavior.mode.ChainofResponsibilityPattern.logger;

import ai.plantdata.Behavior.mode.ChainofResponsibilityPattern.adstracts.AbstractLogger;

/**
 * @Author: WangHui
 * @Date: 2020/12/21 17:52
 * @Description:
 */
public class ConsoleLogger extends AbstractLogger {
    public ConsoleLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Standard Console :: Logger:"+message);
    }
}
